home *** CD-ROM | disk | FTP | other *** search
- ; passwortdatei codePW 2.1 by Jürgen Einrauch 16. Juli 1997
- failat 21
-
- echo " *n*e[32m ___________________________________________________*e[0m"
- echo " *e[43m *e[0m"
- echo " *e[28;43m Password codePW Version 2.1 *e[0m"
- echo " *e[43m___________________________________________________*e[0m*n"
-
- IF EXISTS SYS:S/codePW
- echo " *e[32mFile codePW still exists.*e[0m"
- echo " *e[32mInstallation aborted.*e[0m"
- echo "*n Please read the information file."
- wait 4 secs
- endcli >nil:
- quit
- else
- echo " Please read the information file first!"
- echo noline "*n Would you install codePW now? (yes/no): "
- set > nil: Inp ?
- if $Inp eq "ja"
- skip start
- endif
- if $Inp eq "j"
- skip start
- endif
- if $Inp eq "y"
- skip start
- endif
- if $Inp eq "yes"
- skip start
- endif
- echo noline "*n Installation aborted."
- EndCLI >NIL:
- quit
-
- lab start
- search >nil: from s:user-startup search "; Begin codePW"
- search >nil: from s:user-startup search "IF EXISTS S:codePW"
- search >nil: from s:user-startup search " EXECUTE S:codePW"
- search >nil: from s:user-startup search "ENDIF; END codePW"
- if warn
- skip user
- else
- echo ""
- skip install
- endif
-
- lab user
- IF EXISTS SYS:S/User-StartUP
- echo "*n Writing some lines to S/User-StartUP ......"
- else
- wait 2 secs
- echo "*n User-StartUP not found,"
- echo " I create a new directory ......"
- echo "*n Writing some lines to S/User-StartUP ......"
- skip userneu
- endif
-
- lab userneu
- echo >ram:tmp "*n; Begin codePW"
- type >>s:user-startup ram:tmp
- echo >ram:tmp "IF EXISTS S:codePW"
- type >>s:user-startup ram:tmp
- echo >ram:tmp " EXECUTE S:codePW"
- type >>s:user-startup ram:tmp
- echo >ram:tmp "ENDIF; End codePW*n"
- type >>s:user-startup ram:tmp
- delete >nil: ram:tmp
-
- lab install
-
- set > nil: pass ;eingefügt wegen eines bugs !!!
- echo " Install codePW ......"
- endif
- wait 2 secs
- echo "*n You can input your address now."
- echo noline "*n Christian name, name: "
- set > nil: nam ?
- echo >ram:tmp "echo *"*""
- type >>s:codePW ram:tmp
- echo >ram:tmp "echo *"*""
- type >>s:codePW ram:tmp
- echo >ram:tmp "echo *" $nam*""
- type >>s:codePW ram:tmp
- echo noline " Street, number : "
- set > nil: str ?
- echo >ram:tmp "echo *" $str*""
- type >>s:codePW ram:tmp
- echo noline " Postcode, town : "
- set > nil: plz ?
- echo >ram:tmp "echo *" $plz*""
- type >>s:codePW ram:tmp
- echo "*n Input your password now. Choose only *e[32mone*e[0m" word or
- echo " number with *e[32mno*e[0m space at the begin, the end and between!*n"
- echo noline " Password input : "
- set > nil: eingabe ?
- echo >ram:tmp "echo *" *e[32m______________________________________________________________*e[0m*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo *" *e[;;43m *e[0m*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo *" *e[0;28;43m Wrong input more than three times blocks harddisk forever! *e[0m*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo *" *e[;;43m______________________________________________________________*e[0m*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo *"*""
- type >>s:codePW ram:tmp
- echo >ram:tmp "lab passwort"
- type >>s:codePW ram:tmp
- echo >ram:tmp "echo noline *"*e[;;31m*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo noline *" Password: *""
- type >>s:codepw ram:tmp
- echo >ram:tmp "echo noline *"*e[;;30m]*""
- type >>s:codepw ram:tmp
- echo >ram:tmp "set > nil: pass ?"
- type >>s:codePW ram:tmp
- echo >ram:tmp "If $pass not eq *"$eingabe*""
- type >>s:codePW ram:tmp
- echo >ram:tmp "skip back passwort"
- type >>s:codePW ram:tmp
- echo >ram:tmp "endif"
- type >>s:codePW ram:tmp
- echo >ram:tmp "unset >nil: pass"
- type >>s:codePW ram:tmp
- unset >nil: eingabe ;damned bug now fixed ?
- unset >nil: pass ;
-
- delete >nil: ram:tmp
- wait 2 secs
-
- echo "*n Installation finished."
- echo " Reset your computer and check installation."
- echo " First choose a wrong and than the correct password."
- echo " Please wait 5 seconds ......"
- wait 5 secs
- endcli >nil:
- quit
-